package com.leoren.run.vo;

import java.util.List;

/**
 * UserRunRecordVo实体类
 */
public class UserRunRecordVo {

    private Long userId;

    private String username;

    private String faceImage;

    private float allDistance;

    private int runCount;

    private float aveDistance;

    private float allTimeHour;

    private List<RunRecordVo> runRecordVos;

    @Override
    public String toString() {
        return "UserRunRecordVo{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", faceImage='" + faceImage + '\'' +
                ", allDistance=" + allDistance +
                ", runCount=" + runCount +
                ", aveDistance=" + aveDistance +
                ", allTimeHour=" + allTimeHour +
                ", runRecordVos=" + runRecordVos +
                '}';
    }

    public UserRunRecordVo() {
    }

    public UserRunRecordVo(Long userId, String username, String faceImage, float allDistance, int runCount, float aveDistance, float allTimeHour, List<RunRecordVo> runRecordVos) {
        this.userId = userId;
        this.username = username;
        this.faceImage = faceImage;
        this.allDistance = allDistance;
        this.runCount = runCount;
        this.aveDistance = aveDistance;
        this.allTimeHour = allTimeHour;
        this.runRecordVos = runRecordVos;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getFaceImage() {
        return faceImage;
    }

    public void setFaceImage(String faceImage) {
        this.faceImage = faceImage;
    }

    public float getAllDistance() {
        return allDistance;
    }

    public void setAllDistance(float allDistance) {
        this.allDistance = allDistance;
    }

    public int getRunCount() {
        return runCount;
    }

    public void setRunCount(int runCount) {
        this.runCount = runCount;
    }

    public float getAveDistance() {
        return aveDistance;
    }

    public void setAveDistance(float aveDistance) {
        this.aveDistance = aveDistance;
    }

    public float getAllTimeHour() {
        return allTimeHour;
    }

    public void setAllTimeHour(float allTimeHour) {
        this.allTimeHour = allTimeHour;
    }

    public List<RunRecordVo> getRunRecordVos() {
        return runRecordVos;
    }

    public void setRunRecordVos(List<RunRecordVo> runRecordVos) {
        this.runRecordVos = runRecordVos;
    }
}
